tree-sitter-typescript
TypeScript and TSX grammars for tree-sitter.
Because TSX and TypeScript are actually two different dialects, this module defines two grammars. Require them as follows:
require.; // TypeScript grammar
require.; // TSX grammar
For Javascript files with flow type annotations you can use the tsx
parser.
References